package backend.service.worklog;

import backend.model.admin.Employee;
import backend.model.admin.Team;
import backend.model.worklog.WorkLogMismatch;
import backend.service.base.DBModelService;

import java.util.Date;
import java.util.List;

public interface WorkLogMismatchService extends DBModelService<WorkLogMismatch> {

    public WorkLogMismatch loadWorkLogMismatchForDateAndEmployee(Employee employee, Date date);
    public List<WorkLogMismatch> loadWorkLogMismatchForTimeInterval(Date startDate, Date endDate);
    public List<WorkLogMismatch> loadWorkLogMismatchForTimeIntervalAndEmployee(Employee employee, Date startDate, Date endDate);
    public List<WorkLogMismatch> loadWorkLogMismatchForTimeIntervalAndTeam(Team team, Date startDate, Date endDate);
    public void deleteWorkLogMismatchesForTimeIntervalAndEmployee(Employee employee, Date startDate, Date endDate);
}
